package com.chixing.day02;

public class IfElseDemo {
    public  static  void main(String[]args){
        int a =10;
        int b=20;
        int c;
        if(a>10)
            System.out.println("a>10");
        else
            System.out.println("a<=10");

        System.out.println("------------------------") ;
        if(a >9)
            System.out.println("2222 a>9");
        System.out.println("3333333333");

        if(a >10){
            System.out.println("a >10");
            c= 20;
        }else
        System.out.println("a <=10");








    }
}
